//
//  HDAlertTool.m
//  OTIS_MD
//
//  Created by 何达达 on 2017/8/22.
//  Copyright © 2017年 hedada. All rights reserved.
//

#import "HDAlertTool.h"
#import "CustomIOSAlertView.h"
@implementation HDAlertTool
+(void)alertMessage:(NSString *)dialogTitle content:(NSString *)dialogContents buttonTitle:(NSString *)dialogButtonsTitle
{
    CustomIOSAlertView* alertView=[[CustomIOSAlertView alloc] initAlertDialogVieWithImageName:nil dialogTitle:dialogTitle dialogContents:dialogContents dialogButtons:[NSMutableArray arrayWithObjects:dialogButtonsTitle, nil]];
    alertView.onButtonTouchUpInside = ^(CustomIOSAlertView *alertView, int buttonIndex){
        [alertView close];
    };
    [alertView show];

}

@end
